package com.pucong.gitee.database.backup.common.entity.service.dto;

import com.pucong.gitee.database.backup.common.selfenum.ServiceFileType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("文件服务 连接测试dto")
public class ServiceFileConnectTestDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("IP地址")
    private String host;

    @ApiModelProperty("端口号")
    private int port;

    @ApiModelProperty("组名")
    private String groupName;

    @ApiModelProperty("服务器类型")
    private ServiceFileType serviceFileType;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("密码")
    private String password;
}
